#ifndef FARMSTRUCT_H_INCLUDED
#define FARMSTRUCT_H_INCLUDED
#include <iostream>
#include "SFML\System.hpp"
#include "SFML\Window.hpp"
#include "SFML\Graphics.hpp"
#include "Struct.h"
#include "FieldStruct.h"

class DirtTile;
class FieldStruct;

class FarmStruct : public Struct
{
public:
	FarmStruct();
	virtual void init(const sf::Vector2f position, const int team, ImgMgr *imageManager);
	virtual void maj(Level *level, RessourceMgr *ressourceMgr);
	virtual std::string getRessourceStruct() const;

protected:
	int m_nombreField;
	sf::Clock m_clockField;
	FieldStruct m_field[100];
};

#endif